<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hjdevice_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hjdevice_id" data-rule="required" data-source="hjdevice/index" class="form-control selectpage" name="row[hjdevice_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Commandtype')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-commandtype" data-rule="required" class="form-control selectpicker" name="row[commandtype]">
                {foreach name="commandtypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="FE99"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Value1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-value1" data-rule="required" class="form-control" step="0.0001" name="row[value1]" type="number" value="0.0000">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Value2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-value2" data-rule="required" class="form-control" step="0.0001" name="row[value2]" type="number" value="0.0000">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Value3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-value3" data-rule="required" class="form-control" step="0.0001" name="row[value3]" type="number" value="0.0000">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Value4')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-value4" data-rule="required" class="form-control" step="0.0001" name="row[value4]" type="number" value="0.0000">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Commandinfo')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-commandinfo" class="form-control" name="row[commandinfo]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
